package com.sinping.qh.service.app.login;

import com.sinping.qh.api.support.ResDto;
import com.sinping.qh.domain.user.UserInfo;
import com.sinping.qh.dto.app.user.UserByAppDTO;
import com.sinping.qh.dto.mongo.auth.UserSessionDTO;

import javax.servlet.http.HttpServletRequest;

/**
 * @author zhangjin
 * @create 2018/5/30
 */
public interface ILoginService {


    ResDto login(UserByAppDTO userByAppDTO);

    UserSessionDTO getUserSessionDTO(HttpServletRequest request);

    ResDto logout(UserByAppDTO userByAppDTO);
}
